package com.c611.smartclassroom.dto;

import java.util.Date;

public class DeviceDto {
    private String classroomid;
    private String classroom;
    private String tbuildname;
    private String afgateway;
    private String gatewayid;
    private Date addtime;
    private int onlstatus;

    public DeviceDto() {
    }

    public DeviceDto(String classroomid, String classroom, String tbuildname, String afgateway, String gatewayid, Date addtime, int onlstatus) {
        this.classroomid = classroomid;
        this.classroom = classroom;
        this.tbuildname = tbuildname;
        this.afgateway = afgateway;
        this.gatewayid = gatewayid;
        this.addtime = addtime;
        this.onlstatus = onlstatus;
    }

    public String getClassroomid() {
        return classroomid;
    }

    public void setClassroomid(String classroomid) {
        this.classroomid = classroomid;
    }

    public String getClassroom() {
        return classroom;
    }

    public void setClassroom(String classroom) {
        this.classroom = classroom;
    }

    public String getTbuildname() {
        return tbuildname;
    }

    public void setTbuildname(String tbuildname) {
        this.tbuildname = tbuildname;
    }

    public String getAfgateway() {
        return afgateway;
    }

    public void setAfgateway(String afgateway) {
        this.afgateway = afgateway;
    }

    public String getGatewayid() {
        return gatewayid;
    }

    public void setGatewayid(String gatewayid) {
        this.gatewayid = gatewayid;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public int getOnlstatus() {
        return onlstatus;
    }

    public void setOnlstatus(int onlstatus) {
        this.onlstatus = onlstatus;
    }
}
